package com.sh4.service;

import java.util.List;
import java.util.Map;

import com.sh4.entity.Permission;

import net.sf.json.JSONObject;

public interface PermissionService {
	
	Map<String , Object> list(int pageNo , int pageSize , JSONObject params);

	void savePermission(Permission p);
	
	void deletePermission(Permission p);
	
	void savePermissionResource(List<String> menuIds,String permissionId);
	
	 List<String> getPermissionResource(String permissionId);
}
